<html>
<head>
    <title>BOOKING</title>
</head>
<body bgcolor= "#FFFACD">
<IMG SRC = "http://image.ohozaa.com/i/d29/bMY7Wm.jpg" width = "100%" height = "200" border="3"><p>
<HR><center><h2> ~  B O O K I N G  ~ </h2><HR></center>
    <center>
	<center>
    <a href="http://localhost:8000/user_profile/" >profile</a>
	&nbsp;&nbsp;/&nbsp;&nbsp;
	booking
	&nbsp;&nbsp;/&nbsp;&nbsp;
	<a href="http://localhost:8000/booking_history/">booking history</a>
	&nbsp;&nbsp;/&nbsp;&nbsp;
	<a href="http://localhost:8000/report_error/">report error by user</a>
	&nbsp;&nbsp;/&nbsp;&nbsp;
	<a href="http://localhost:8000/log_out/" >log out</a>
    <form action="/booking/" method="POST">
	{% csrf_token %}
	<table width="500" border="1">
	 <td><center>Select Computer ID : <select name="sid"> {% for com_id in computer %}
	 <option value= "{{com_id.Computer_ID}}" >&nbsp&nbsp&nbsp   {{com_id.Computer_ID}}   &nbsp&nbsp&nbsp </option>
	 {% endfor %}
	 </select>
	 <td><center>Enter Date  <td><center><input  type="text" name="date" value = "0000-00-00"></center></td></tr>
	 </TABLE>
	 <input type="submit" value="submit">
	 </form>
	 {% if errors %}
        <ul>
            {% for error in errors %}
            {{ error }}
            {% endfor %}
        </ul>
    {% endif %}
    </center>
</body>
</html>